package part1.language_basis.day04;

//for结构的演示
public class ForDemo {
    public static void main(String[] args) {

        for (int num=1;num<=9;num++){
            System.out.println(num+"*9="+num*9);
        }
        for (int num=1;num<=9;num+=2){
            System.out.println(num+"*9="+num*9);
        }
        for (int num=9;num>=1;num--){
            System.out.println(num+"*9="+num*9);
        }

        for (int times=0; times<5 ; times++){
            System.out.println("行动是成功的阶梯");
        }
        System.out.println("继续执行.....");

        /*
            times=0(1)  times<5(2)  times++(3)  System.out...(4)
            1243 243 243 243 243 2
            times=0  true   输出
            times=1  true   输出
            times=2  true   输出
            times=3  true   输出
            times=4  true   输出
            times=5  false  继续执行
         */

    }
}
